package com.xiaodu.acer.phoneplay.presenter.contract;


import com.xiaodu.acer.phoneplay.bean.CategoryBean;

import java.util.List;

import io.reactivex.Observable;
import library.base.BaseBean;
import library.base.BaseModel;
import library.base.BaseView;

/**
 */
public interface CategoryContract {

    interface View extends BaseView {
        void showData(List<CategoryBean> categories);
    }


    interface Model extends BaseModel {
        Observable<BaseBean<List<CategoryBean>>> getCategories();
    }

}
